package com.bytetool.server.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author zhx
 * @since 2024-04-01
 */
@Getter
@Setter
@TableName("performance_info")
public class PerformanceInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String methodName;

    private String parentMethodName;

    private Date startTime;

    private long spend;

    private String traceId;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;


}
